{{extend '../_layouts/home.html'}} {{block 'content'}}
<div class="container">
  <div class="page-header">
    <h2>学生信息录入</h2>
  </div>

  <form class="form-horizontal">
    <div class="form-group">
      <label class="col-sm-2 control-label" style="margin-right: 15px">专业</label
      >
      <label class="radio-inline">
        <input type="radio" name="major" value="option1" />
        计算机
      </label>
      <label class="radio-inline">
        <input type="radio" name="major" value="option2" />
        物联网
      </label>
      <label class="radio-inline">
        <input type="radio" name="major" value="option3" />通信
      </label>
    </div>
    <div class="form-group">
      <label class="col-sm-2 control-label">年级</label>
      <div class="col-sm-4">
        <select class="form-control">
          <option>2017</option>
          <option>2018</option>
          <option selected>2019</option>
          <option>2020</option>
          <option>2021</option>
        </select>
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label">学号</label>
      <div class="col-sm-4">
        <input type="number" class="form-control" placeholder="student id" />
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label">姓名</label>
      <div class="col-sm-4">
        <input type="text" class="form-control" placeholder="student name" />
      </div>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label" style="margin-right: 15px">性别</label
      >
      <label class="radio-inline">
        <input type="radio" name="gender" value="0" />
        男
      </label>
      <label class="radio-inline">
        <input type="radio" name="gender" value="1" />
        女
      </label>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label" style="margin-right: 15px">科目</label
      >
      <label class="radio-inline">
        <input type="radio" name="object" value="数据结构" />
        数据结构
      </label>
      <label class="radio-inline">
        <input type="radio" name="object" value="C语言程序设计" />
        C语言程序设计
      </label>
      <label class="radio-inline">
        <input type="radio" name="object" value="java语言程序设计" />
        java语言程序设计
      </label>
    </div>

    <div class="form-group">
      <label class="col-sm-2 control-label">成绩</label>
      <div class="col-sm-4">
        <input type="email" class="form-control" placeholder="score <=100" />
      </div>
    </div>

    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <button type="submit" class="btn btn-info">提交</button>
      </div>
    </div>
  </form>
</div>

{{/block}} {{block 'script'}}
<script>
  $(".form-horizontal").on("");
</script>
{{/block}}